package user;

import Operation.IOPeration;
import demo1.Book;
import demo1.BookList;

public abstract class User {
    String name;
    public IOPeration[] ioPerations;

    public User(String name) {
        this.name = name;
    }

    public abstract int menu();

    public void doOperation(int choice2, BookList bookList){
        ioPerations[choice2].work(bookList);
    }

}
